//#define _CRT_SECURE_NO_WARNINGS 1

#include "student.h"

void Student::display()
{
	std::cout << "num:" << num << std::endl;
	std::cout << "name:" << name << std::endl;
	std::cout << "sex:" << sex << std::endl;
}

void Student::set_value()
{
	std::cin >> num;
	std::cin >> name;
	std::cin >> sex;
}